﻿namespace instamuz.Domain.Profiles
{
    using AutoMapper;
    using Dtos;
    using Entities;

    public class DomainProfile : Profile
    {
        protected override void Configure()
        {
            CreateMap<Post, PostDto>()
                .ForMember(x => x.Description, x => x.MapFrom(z => z.Description));
        }
    }
}